package com.nowcoder.community.service;

import com.nowcoder.community.dao.elasticsearch.DiscussPostRepository;
import com.nowcoder.community.entity.DiscussPost;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.elasticsearch.core.ElasticsearchRestTemplate;
import org.springframework.stereotype.Component;

@Component
public class ElasticsearchService {

    @Autowired
    DiscussPostRepository discussPostRepository;

    @Autowired
    ElasticsearchRestTemplate elasticsearchRestTemplate;

}
